Skip to content

Fix warnings - #232

Merged
jenshnielsen merged 3 commits into
QCoDeS:mainfrom
jenshnielsen:fix_warnings
Aug 24, 2026
Merged

Fix warnings#232
jenshnielsen merged 3 commits into
QCoDeS:mainfrom
jenshnielsen:fix_warnings

Conversation

@jenshnielsen

Copy link
Copy Markdown
Contributor

No description provided.

Replace in-place ndarray shape assignment with np.reshape (deprecated in NumPy 2.5) and pass an explicit dtype to h5py create_dataset to preserve the prior float32 default.
clear() reinitializes the plot with an existing figure number. Passing figsize to plt.subplots for an existing figure is ignored and warns, so apply the size via set_size_inches instead.
The remote process forwards its stdout/stderr via daemon threads. Left running until interpreter exit, they wrote to a stdout pytest had already closed, raising 'ValueError: I/O operation on closed file'. Join the process in tearDownClass while stdout is still valid.
@jenshnielsen
jenshnielsen enabled auto-merge June 22, 2026 06:40
@jenshnielsen
jenshnielsen added this pull request to the merge queue Aug 24, 2026
Merged via the queue into QCoDeS:main with commit fdf1837 Aug 24, 2026
9 checks passed
@jenshnielsen
jenshnielsen deleted the fix_warnings branch August 24, 2026 08:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants